package org.i0o.appliancemanager;

import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import org.i0o.appliancemanager.ui.helper.Colors;
import org.i0o.appliancemanager.ui.win.LoginWin;

public class ApplianceManager {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String lookAndFeel = UIManager.getSystemLookAndFeelClassName();

		 try {
			UIManager.setLookAndFeel(lookAndFeel);
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (InstantiationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (UnsupportedLookAndFeelException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		 
		 Colors.init();
		
		LoginWin loginDialog = new LoginWin();
		loginDialog.open();
	}
}
